package com.swim.session;

import java.util.List;

import javax.ejb.Remote;

import com.swim.entity.RegisteredUser;

@Remote
public interface RegisteredUserRemote {
	public List<RegisteredUser> getUsersByName(String name, String surname);

	public List<RegisteredUser> getUsersBySkill(String skillName);

	public List<RegisteredUser> getUsersByCity(String city);

	public RegisteredUser getUserWithEmail(String email);

	public List<RegisteredUser> getFriendsOf(String email);

	public List<RegisteredUser> getFriendsByName(String email, String name, String surname);

	public List<RegisteredUser> getFriendsBySkill(String email, String skillName);

	public List<RegisteredUser> getFriendsByCity(String email, String city);

	public boolean addUser(String email, String password, String name,
			String surname, String city);
	
	
	public boolean editUser(String email, String password, String name, String surname, String city);
	
	public void addSkill(String[] id, String emailUser);
	
	public boolean removeUserWithEmail(String email);

	public List<RegisteredUser> getSuggestions(String forEmail, String viaEmail);

	public List<RegisteredUser> getNotifications(String authEmail);

	public void deleteNotification(String toEmail, String viaEmail);
}
